Skip to content

ExpressionChainParameters(TSender?, Expression?, Expression[], bool, bool, bool, bool) constructor

Defined in

Type: ExpressionChainParameters Namespace: ReactiveUI.Binding.Reactive Assembly: ReactiveUI.Binding.Reactive.dll

Applies to

net10.0, net10.0-browserwasm1.0, net10.0-desktop1.0, net9.0, net9.0-tvos18.0, net9.0-maccatalyst18.0, net9.0-ios18.0, net9.0-macos15.0, net9.0-desktop1.0, net8.0, net8.0-macos14.5, net8.0-ios18.0, net8.0-maccatalyst18.0, net8.0-macos15.0, net8.0-tvos18.0, net8.0-ios17.5, net8.0-maccatalyst17.5, netstandard2.1, net481, net462, net471

public ExpressionChainParameters(TSender? Source, Expression? Expression, Expression[] Links, bool BeforeChange, bool SkipInitial, bool IsDistinct, bool SuppressWarnings)

Summary: How one chain of property accesses is to be observed.

Parameters

NameTypeDescription
SourceTSender?The root object of the chain.
ExpressionExpression?The full expression surfaced on the emitted change.
LinksExpression[]The member-access links of the chain, in order.
BeforeChangeboolWhether values are observed before they change.
SkipInitialboolWhether the initial value is suppressed.
IsDistinctboolWhether consecutive equal leaf values are suppressed.
SuppressWarningsboolWhether the warning a property with no notification mechanism raises is suppressed. A binding that already knows a property cannot notify - because it chose this path deliberately - would otherwise log once per subscription for something the caller cannot act on.

Remarks

        Grouped rather than passed one by one: the set travels together through the sink and every level of the
        chain, and each addition to it would otherwise widen several signatures at once.